<?php 

// Visitor Stats 2

//include("visitor_stats/visitor_stats.php");

include("config.php");



session_start();



//function getLocationCaidaNetGeo($ip)

//{ 

//$NetGeoURL = "http://netgeo.caida.org/perl/netgeo.cgi?target=".$ip; 

//

//if($NetGeoFP = fopen($NetGeoURL,r))

//{ 

//       ob_start();

//

//        fpassthru($NetGeoFP);

//        $NetGeoHTML = ob_get_contents();

//        ob_end_clean();

//

//fclose($NetGeoFP);

//}

//preg_match ("/LAT:(.*)/i", $NetGeoHTML, $temp) or die("Could not find element LAT");

//$location[0] = $temp[1];

//preg_match ("/LONG:(.*)/i", $NetGeoHTML, $temp) or die("Could not find element LONG");

//$location[1] = $temp[1];

//

//return $location;

//}

require('db/opendb.php');



//$ip2 = $_SERVER['REMOTE_ADDR'];

//$host = $_SERVER['HTTP_HOST'];

//$source = $_SERVER['HTTP_REFERER'];

//

$listing_id = $_GET['listing_id'];



/*$disp_zesti = 1;

$disp_zindex = 1;

$disp_zcomps = 1;*/



//get the configs for the listing

$cquery = "select * from VT_Config where Listing_ID = '".$listing_id."'";

$cresult = mysql_query($cquery) or die ("SQL Error".mysql_error());

$crow = mysql_fetch_assoc($cresult);



$disp_zesti = $crow['disp_zesti'];

$disp_zcomps = $crow['disp_zcomps'];

$disp_zindex = $crow['disp_zindex'];



/*$disp_zesti = $_GET['disp_zesti'];

$disp_zindex = $_GET['disp_zindex'];

$disp_zcomps = $_GET['disp_zcomps'];*/







//if($ip2)

//$array = getLocationCaidaNetGeo($ip2);





//$sql = "Select * from Listing_Views where Listing_ID = '".$listing_id."' and Date(Last_View) = curdate() and Ip_Number = '".$ip2."' and Source = '".$source."'";

//$result = mysql_query($sql) or die ("SQL Error".mysql_error());

//

//if(!mysql_num_rows($result))

//{

//$sql = "insert into Listing_Views (Listing_ID, Views,Last_View, Source, Host, IP_Number, Latitude, Longitude) Values ('".$listing_id."','1','".date('Y-m-d H-i-s')."', '".$source."', '".$host."', '".$ip2."', '".trim(str_replace('<br>', "", $array[0]))."', '".trim(str_replace('<br>', "", $array[1]))."')";

//$result = mysql_query($sql) or die ("SQL Error".mysql_error());

//}

//else

//{

//$sql = "update Listing_Views set Last_View = '".date('Y-m-d H-i-s')."', Source = '".$source."', Host = '".$host."' where Listing_ID = '".$listing_id."' and Date(Last_View) = curdate() and Ip_Number = '".$ip2."'";

//$result = mysql_query($sql) or die ("SQL Error".mysql_error());

//}

?>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 

"http://www.w3.org/TR/html4/strict.dtd">

<!-- layouts require "Standards Mode" rendering, 

which the 401-strict doctype triggers --><head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Realivent.com - All the real estate information you can handle</title>

<link rel="stylesheet" type="text/css" href="style.css">



<?php

include 'map/map_control_listing.php';

include 'map/map_control_script.php';



$oid = $_GET['listing_id'];

$active = 'search';

//echo $_SERVER['HTTP_REFERER'];



?>





<?php 	

$mquery = "select p.* from PROPERTIES p where p.OID = '".$oid."'";

$mresult = mysql_query($mquery) or die ("SQL Error".mysql_error());

//$row = mysql_fetch_assoc($mresult);

/*if($row = mysql_fetch_assoc($mresult))

{

echo "latitude =". $row['LATITUDE'].";";

echo "longitude =". $row["LONGITUDE"];

echo "city =". $row["CITY"];

$state= $row["STATE"];

echo "zipcode =". $row["ZIPCODE"];

$title = $row["TITLE"];

}

*/?>





<!--<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAgsoYObDEvKwBzJUc6McWpRT4oN-Bo5mJ9BhZi76IZhxzybzubRRrhdCTXyHxKZviZFaYtr_Hvzog1w"type="text/javascript"></script>

-->

<script src="http://maps.google.com/maps?file=api&v=2&key=<?php echo SITE_KEY ?>" type="text/javascript"></script>



<script src="ajax_image_js.js" type="text/javascript"></script>

<!--<script src="map/map_control_script.js" type="text/javascript"></script>

--><script type="text/javascript" src="map/Neighborhood_ajax_map.js"></script>

<script type="text/javascript" src="listings.js"></script>

<script type="text/javascript">

var map;

var comps_by_addr, disp_zillowcomps;





function Onload()

{



	disp_zillowcomps = 1;

	disp_zestimate = 1;

	disp_zindex = 1;



  <?php 

   global $city, $state,$zipcode, $address;

   if($row = mysql_fetch_assoc($mresult))

	{

		echo "latitude =". $row['LATITUDE'].";";

		echo "longitude =". $row["LONGITUDE"].";";

		echo "city =". "'".$row["CITY"]."'".";";

		echo "state=". "'".$row["STATE"]."'".";";

		echo "zipcode =". $row["ZIPCODE"].";";

		echo "title =". "'".$row["TITLE"]."'".";";

		echo "dispTitle = Truncatestr(title,40,'...');"; 

		$city = $row["CITY"];

		$state = $row["STATE"];

		$zipcode = $row["ZIPCODE"];

		

		echo "title ="."\"".str_replace("\""," ",$row["TITLE"])."\"".";";



		

		if($row["STREETNAME"])

		  echo "streetname=". "'".$row["STREETNAME"]."'".";";

		 else

		  echo "streetname = null".";";

		  

		if($row["STREETNUM"])

		  echo "streetnum=". "'".$row["STREETNUM"]."'".";";

		else

		  echo "streetnum = null".";";

		  

		if($row["STREETSUFFIX"])

		  echo "streetsfx=". "'".$row["STREETSUFFIX"]."'".";";

		else

		  echo "streetsfx = null".";";

	

		if($row["STREETDIR"])

		  echo "streetdir=". "'".$row["STREETDIR"]."'".";";

		 else

		  echo "streetdir = null".";";

	  

		  

		$address = $row["STREETNUM"]." ".$row["STREETDIR"]." ".$row["STREETNAME"]." ".$row["STREETSUFFIX"];





		if($row["BEDS"])

		 echo "beds =". $row["BEDS"].";";

		else

		 echo "beds = 0".";";

		 

		if($row["BATHSTOTAL"])

		 echo "baths =". $row["BATHSTOTAL"].";";

		else

		 echo "baths = 0".";";



		if($row["SQFTTOTAL"])

		 echo "sqft =". $row["SQFTTOTAL"].";";

		else

		 echo "sqft = 0".";";



	}

	

	if($disp_zcomps)

		echo "disp_zillowcomps=1;";

	else

		echo "disp_zillowcomps=0;";



	if($disp_zesti)

		echo "disp_zestimate=1;";

	else

		echo "disp_zestimate=0;";



	if($disp_zindex)

		echo "disp_zindex=1;";

	else

		echo "disp_zindex=0;";



		

	

	?>

	

	if(streetnum && streetname && streetsfx)

	{

	addr = streetnum+ " " + streetname + " " + streetsfx;

	comps_by_addr = 1;

	}

	else

	{

	if(streetnum && streetname)

	{

	addr = streetnum+ " " + streetname;

	comps_by_addr = 1;

	}

	else

	{

	addr = null;

	comps_by_addr = 0;



	}

	}

	

	if(disp_zillowcomps == 1)

	{

	map_control_load(latitude, longitude, zipcode,title, city, state);

	if(comps_by_addr)

	{

	Comp_Chk_Box = document.getElementById("comp_ckbx");

	Comp_Chk_Box.checked = "true";



	//document.getElementById("comp_title").innerHTML = "Nearby Recent Sales";

	

	document.getElementById("comp_title").innerHTML = "Comparable Sales";





//	document.getElementById("comp_title").innerHTML += "<a target=_blank href=\'http://www.zillow.com/\'><img src='images/other_logos/zillowlogo_150x40.gif' width=150 height=40 border=0  ></a>";





	document.getElementById("comp_title").style.display="";

	document.getElementById("CompSchool").style.display="";



	get_comparables_by_addr(addr, latitude,longitude,title,zipcode,"CompSchool",state,city, beds, baths, sqft);

	}

	else

	{

	//document.getElementById("comp_title").innerHTML = "Nearby Recent Sales";

	

//	document.getElementById("comp_title").innerHTML = "Comparable Sales" + "&nbsp" + "&nbsp"+ "<a target=_blank href=\'http://www.zillow.com/\'><img src='images/other_logos/zillowlogo_150x40.gif' width=150 height=40 border=0  ></a>";

	

	document.getElementById("comp_title").innerHTML = "Comparable Sales";

	

//	document.getElementById("comp_title").innerHTML += "<a target=_blank href=\'http://www.zillow.com/\'><img src='images/other_logos/zillowlogo_150x40.gif' width=150 height=40 border=0  ></a>";



	

	document.getElementById("comp_title").style.display="";

	document.getElementById("CompSchool").style.display="";



	get_comparables(latitude,longitude,title,zipcode,"CompSchool",state,city, beds, baths, sqft);



	}

	} //if disp_zillowcomps





		//document.getElementById("prop_val_hist").innerHTML = "TEST";





   //map_control_load(latitude, longitude, zipcode,title);

}





</script>



<style type="text/css">

<!--

.style1 {

	color: #FF9900;

	font-family: Arial, Helvetica, sans-serif;

	font-weight: bold;

}

.style2 {font-family: Arial, Helvetica, sans-serif}

.style3 {

	color: #FF9900;

	font-family: Arial, Helvetica, sans-serif;

	font-size:12px;

	font-weight: bold;

}

.zillowbrand { border:1px solid #92a9c2;margin:0px auto;padding:4px;}

.zillowbrand h2 { clear:both;color:rgb(100,180,220);font-family:Verdana;font-size:18px;font-weight:300;line-height:22px;margin:0px auto;padding:0px 0px 2px 4px;}

.zillowbrand h3 { clear:both;color:rgb(100,180,220);font-family:Verdana;font-size:11px;font-weight:300;line-height:12px;margin:0px auto;padding:0px 0px 2px 4px;}

.zillowbrand h4 { clear:both;color:rgb(89,163,193);font-family:Verdana;font-size:8px;font-weight:300;line-height:11px;margin:0px auto;padding:0px 0px 2px 4px;}



-->

</style>
<link href="new_style.css" rel="stylesheet" type="text/css" />


</head>



<body onLoad="Onload()" leftmargin="25px;">

<CENTER>
<div style="width:1000px;">
<table style="border-left:0px solid black; border-right:0px solid black; padding-left:25px; width:1000px; margin-left:100px;" >

  <tr>

    <td>

	<!--header-->

	
<div id="topPan">



<? include ('loginlinks.php') ?>



	<a href="index.html"></a>



	

    <? include ('navigation.php') ?>



    

    </div>


	</td>

  </tr>

  <TR>

	<TD style="padding-left:30px;" align="left" colspan="3"><DIV id=listing_header style="font-size:24px;"><?php echo $row['STREETNUM']." ".$row['STREETDIR']." ".$row['STREETNAME']." ".$row['STREETSUFFIX'].", ".$row['CITY']." ".$row['STATE'] ?></DIV><div style="float:left; "></div></div></TD>

  </TR>

 

  <TR>

  	<TD valign="top">

		<table style="padding-left:0px;" width="100%" border="0" cellspacing="0" cellpadding="0">

		

			 <tr>

    <td style="border:1px solid #CCCCCC;" valign="top">

	<!--main body-->

	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-left:0px; ">

	 	<TR>

			<TD style="padding-left:10px; color:white" height=30px colspan="3" bgcolor="#333333" align="left"><a target="_blank" style="color:white; text-decoration:none" href=print_listing.php?listing_id=<?php echo $oid ?>>Printer Friendly Version</a> | <a style="color:white; text-decoration:none" href=email_friend_cl.php?listing_id=<?php echo $oid ?>>Email to Friend</a></TD>

		  </TR>

	  <tr>

		<td width="420" valign="top" style="padding:10px;" align="left">

		

			

<?php 

	

	$mquery = "select * from Listing_Images where Listing_ID = '".$oid."' and Main_Photo = '1'";

	$mresult = mysql_query($mquery) or die ("SQL Error".mysql_error());

	if($mrow = mysql_fetch_assoc($mresult))

	{

	

		list($width_orig, $height_orig, $image_type) = getimagesize('listing_images/resize_'.$mrow['Path']);

		if($width_orig > $height_orig)

		{

			//this picture is a landscape

			$width = 400;

			$height = ($width/$width_orig)*$height_orig;

		}

		else

		{

			$height = 400;

			$width = ($height/$height_orig)*$width_orig;

		}

		$main_image = $mrow['Server_Path']."/resize_".$mrow['Path'];

	}

	else

	{

		list($width_orig, $height_orig, $image_type) = getimagesize('listing_images/no_photo.gif');

		if($width_orig > $height_orig)

		{

			//this picture is a landscape

			$width = 400;

			$height = ($width/$width_orig)*$height_orig;

		}

		else

		{

			$height = 400;

			$width = ($height/$height_orig)*$width_orig;

		}

		$main_image = 'listing_images/no_photo.gif';

	}																				



	?>

	<table width="100%" height='305px' border="0" cellspacing="0" cellpadding="0">

			  <tr>

				<td valign=middle height='305px' style="padding:2px;"><div align=center id='main_image' style="border:0px solid black; padding:0px;"><img src='<?php echo $main_image?>' width = '<?php echo $width ?>' height='<?php echo $height ?>'></div></td>

			  </tr>

			  <tr>

				<td width="100%">

				<DIV>

				<?

				$mquery2 = "select * from Listing_Images where Listing_ID = '".$oid."' and Type = 'IMAGE'";

				$mresult2 = mysql_query($mquery2) or die ("SQL Error".mysql_error());

				while($mrow2 = mysql_fetch_assoc($mresult2))

				{

					?>

					<a href=javascript:; onclick="get_image('<?php echo $mrow2['Path'] ?>')"><img width=51 height=38 style="border:1px solid black;" src=<?php echo $mrow2['Server_Path']."t_".$mrow2['Path'] ?>></a>

					<?

				}

				?>

				</DIV>

				<!--<div><a target="_blank" href=http://local.live.com/default.aspx?cp=<?php //echo $row['LONGITUDE'] ?>~<?php//echo $row['LATITUDE'] ?>&lvl=1scene=3050&style=o&v=2>Bird's Eye View</a></div>-->				</td>

			  </tr>

			</table>		</td>

		<td width="*" valign="top" align="left" id=listing_middle_column>

		<!--main content-->

			<div id=listing_column_header>Asking Price: $<?php echo number_format($row['LISTPRICE'], 0) ?></div>

			

			<div><?php echo ($row['BEDS'])? "Beds: ".$row['BEDS']:"" ?></div>

			<div><?php echo ($row['BATHSTOTAL'])? "Baths: ".$row['BATHSTOTAL']:"" ?></div>

			<div><?php echo ($row['SQFTTOTAL'])? "SQFT: ".$row['SQFTTOTAL']:"" ?></div>

			<div><?php echo ($row['ASSOCFEE'])? "HOA: $".$row['ASSOCFEE']:"" ?></div>

			<div><?php echo ($row['PARKINGCOVERED'])? "Parking: ".$row['PARKINGCOVERED']:"" ?></div>

			<div><?php echo ($row['YEARBUILT'])? "Year Built: ".$row['YEARBUILT']:"" ?></div>

			<div><?php echo ($row['MLSNUM'])? "MLSNUM: ".$row['MLSNUM']:"" ?></div>

			<Br>

			<div id=listing_column_header>Description</div>			

			<div style="padding-right:10px; "><?php echo $row['REMARKS'] ?></div><BR />

			<?php if ($row['IVR'] != ''){ ?>

			<div align="center" style="font-size:16px; color:#CC0000"><strong>24 HR Recorded Information</strong></div>

			<DIV align=center style="font-size:16px;"><strong><?php echo $row['IVR'] ?></strong></div>

			<DIV style="padding-bottom:20px;"></DIV>

			<?php }?>





			

			<?php 

			$oquery = "select * from Events where Listing_ID = '".$oid."' and Event_Date > curdate()";

			$oresult = mysql_query($oquery) or die ("SQL Error".mysql_error());

			while($orow = mysql_fetch_assoc($oresult))

			{

				?>

				<div style="padding:5px;">

				<DIV><strong><?php echo $orow['Title'] ?></strong></DIV>

				<DIV><strong><?php echo date('F j, Y', strtotime($orow['Event_Date'])) ?></strong></DIV>

				<DIV><strong>From:</strong> <?php echo $orow['Time_From'] ?> to <?php echo $orow['Time_To'] ?> <?php echo $orow['Time_Fix'] ?></DIV>

				</div>

				<?

			}

			?>

			</div>



<!--			<div id=listing_column_header>Offered By</div>-->			

					

			<?php 

			/* agent information */

			$asql = "Select * from Users u inner join Prop_Owner_Con c on c.Owner = u.ID where c.Prop_OID = '".$oid."'";

			

			$aresult = mysql_query($asql) or die ("SQL Error".mysql_error());

			$arow=mysql_fetch_assoc($aresult);

			?>

			<DIV style="padding-top:10px;">

			<div style="float:left">

			<?php if ($arow['Image']!='')

			{ ?>

			<img src='user_images/t75_<?php echo $arow['Image'] ?>'>

			<?

			}

			else

			{

				?>

				<?

			}

			?>

			</div>

			<div style="float:left">

			<div><strong><?php echo $arow['First_Name'] ?> <?php echo $arow['Last_Name'] ?></strong></div>

			<div>Phone: <?php echo $arow['Phone'] ?></div>

			<div>Email: <a href=mailto:<?php echo $arow['Email'] ?>><?php echo $arow['Email'] ?></a></div>

			<div>Website: <a href=http://<?php echo $arow['Website'] ?>><?php echo $arow['Website'] ?></a></div>

			

			<div align="right" style="padding:5px;">

			<?php if ($arow['Company_Logo']!='')

			{ ?>

			<img src='user_images/t_<?php echo $arow['Company_Logo'] ?>'>

			<?

			}

			else

			{

				?>

				<?

			}

			?>

			</div>

			</div>

			</div>		</td>

	</table>

	<TABLE width="100%">

		<TR>

			<TD style="width:100%; padding-left:30px; border-top:1px solid #CCCCCC;" align="center">

			

				<?php include('feature_control.php'); 

				get_features($oid);

				?>			</TD>

		</TR>

	</TABLE>

	<div>

	<TABLE  width='100%' style='border-top:1px solid #CCCCCC;'>

<TR>

<?php

if($disp_zesti)

{

?>

<TD colspan="2" style="color:#00CC33; font-size:16px; font-family:'Times New Roman', Times, serif; font-weight:bold;" align='right'>Value Estimate: <script type="text/javascript" src="map/onboard/zillow_example.php?addr=<?php echo $address ?>&city=<?php echo $city ?>&state=<?php echo $state ?>&zip=<?php echo $zipcode ?>"> </script></TD>

<TD colspan="1" align="right"><a target=_blank href=\"http://www.zillow.com/\"><img src='images/other_logos/zillowlogo_150x40.gif' width=150 height=40 border=0/></TD>

<?

}

else if($disp_zindex)

{

?>

<TD colspan="2" style="color:#00CC33; font-size:16px; font-family:'Times New Roman', Times, serif; font-weight:bold;" align='left'>Valuation History For:</TD>

<TD colspan="1" align="right"><a target=_blank href=\"http://www.zillow.com/\"><img src='images/other_logos/zillowlogo_150x40.gif' width=150 height=40 border=0/></TD>

<?

}

?>

</TR>



<?php

if($disp_zindex)

{

?>

<TR><TD style=' background:#FEF9E4; color:#00CC33; font-size:16px; font-family:'Times New Roman', Times, serif; font-weight:bold;' align='center'><?php echo $row['ZIPCODE'] ?></TD><TD style=' background:#FEF9E4; color:#00CC33; font-size:16px; font-family:'Times New Roman', Times, serif; font-weight:bold;' align='center'><?php echo $row["CITY"] ?></TD><TD style=' background:#FEF9E4; color:#00CC33; font-size:16px; font-family:'Times New Roman', Times, serif; font-weight:bold;' align='center'><?php echo $row["STATE"] ?></TD></TR>





<!--<TR><TD style=' background:#FEF9E4; color:#00CC33; font-size:12px; font-family:'Times New Roman', Times, serif; font-weight:bold;' align='center'>Valuation History For:<?php echo $address ?></TD><TD style=' background:#FEF9E4; color:#00CC33; font-size:12px; font-family:'Times New Roman', Times, serif; font-weight:bold;' align='center'>Valuation History For:<?php echo $row['ZIPCODE'] ?></TD><TD style=' background:#FEF9E4; color:#00CC33; font-size:12px; font-family:'Times New Roman', Times, serif; font-weight:bold;' align='center'>Valuation History For:<?php echo $row["CITY"] ?></TD></TR>

-->

<TR>

<!--<TD><script type="text/javascript" src="map/zillow_addr_history.php?addr=<?php echo $address ?>&city=<?php echo $city ?>&state=<?php echo $state ?>&zipcode=<?php echo $zipcode ?>"> </script></TD>

-->

<TD><script type="text/javascript" src="map/index_zip.php?zip=<?php echo $row["ZIPCODE"] ?>"> </script></TD>



<!--<TD><script type="text/javascript" src="map/prop_value_history.php?zpid=19791996"> </script></TD>

-->

<TD><script type="text/javascript" src="map/index_city.php?city=<?php echo $row["CITY"] ?>&state=<?php echo $row["STATE"] ?>"></script></TD>

<TD><script type="text/javascript" src="map/index_state.php?state=<?php echo $row["STATE"] ?>"> </script></TD>



</TR>

<TR>

<TD></TD>

<TD></TD>

<TD align="right">

<a target=_blank style=\"font-size:10px\" href='http://www.zillow.com/corp/Terms.htm'>Subject to Zillow Terms of Use</a></TD>

<?

}

?>



</TR>

</TABLE>

</div>

	<div>

	<?php 

	if($disp_zcomps)

	{

	map_control($zipcode,$title); 

	}

	?>

	</div>

<!--	<div>

	<table style="border:1px solid;" cellspacing="0" cellpadding="0">

	<tr><td colspan="6" style='font-size:12px; font-weight:bold;' align='left'>Data provided by Zillow &copy; Zillow, Inc., 2006.</td><td><a href="http://www.zillow.com" title="Zillow"><img src="/images/other_logos/zillowlogo_150x40.gif" alt="Powered By Zillow"/></a></td></tr>

	<tr><td align="left">Use is subject to <a href='http://www.zillow.com/corp/Terms.htm' title='Terms of Use'>Terms of Use</a>.</td></tr>

	<tr><td align="left">What's a <a href='http://www.zillow.com/howto/Zestimate.htm' title='What is a Zestimate'>Zestimate</a>?</td></tr>

	<tr><td align="left">What's a <a href='http://www.zillow.com/howto/Zindex.htm' title='Zindex'>Zindex</a>?</li></td></tr>

	</table>

	</div>

-->	



<?php

if($disp_zesti || $disp_zcomps || $disp_zindex)

{

?>

<div class="zillowbrand" align="left">

<h2>Comparables and Value Estimate Data provided by Zillow</h2><h3>&copy; Zillow, Inc., 2006.</h3><a href="http://www.zillow.com" title="Zillow"><img src="/images/other_logos/zillow.gif" alt="Powered By Zillow" align="right" border="0"/></a>

<ul>

  <li>Use is subject to <a href='http://www.zillow.com/corp/Terms.htm' title='Terms of Use'>Terms of Use</a>.</li>

  <li>What's a <a href='http://www.zillow.com/howto/Zestimate.htm' title='What is a Zestimate'>Zestimate</a>?</li>

</ul>

</div>	

<?

}

?>

</TD>

	<TD style="border-left:0px solid gray; padding-left:5px;" width=160 valign="top" align="left">

		<script type="text/javascript"><!--

//		google_ad_client = "pub-2163952417443596";

//		google_ad_width = 120;

//		google_ad_height = 600;

//		google_ad_format = "120x600_as";

//		google_ad_type = "text_image";

//		google_ad_channel ="";

		//--></script>

<!--		<script type="text/javascript"

		  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

		</script>

-->		</TD>

  </TR>

  

		

	

</table>
</div>
<?php include('footer.php'); ?>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-9062510-1");
pageTracker._trackPageview();
} catch(err) {}</script>


</body>

</html>

